package com.lechuang.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lechuang.common.model.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 会员等级表
 * @TableName member_level
 */
@TableName(value ="member_level")
@Data
@Accessors(chain = true)
public class MemberLevel  implements Serializable {

    public  static final Integer DEFAULT_FLAG = 1;

    private Long id;
    /**
     * 会员等级名称
     */
    private String name;

    /**
     * 数据状态，1：正常，-1：删除
     */
    private Integer status;

    /**
     *  是否默认：1是 2否
     */
    private Integer defaultFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}